import { Entity, Column, PrimaryColumn } from 'typeorm';

@Entity()
export default class User {
  @PrimaryColumn()
  id: string;

  @Column()
  nickName: string;

  @Column({ type: 'longtext' })
  avatarUrl: string;

  @Column()
  gender: number;
}
